﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="editarAvaliacao.aspx.cs" Inherits="qbaproject.Avaliacao.Editar.editarAvaliacao" %>
<%@ Register TagPrefix="HTMLEditor" Namespace="AjaxControlToolkit.HTMLEditor" Assembly="AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" %>
<asp:Content ID="HeadContent" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="server">
    <div id="page-wrapper">
		<div id="main-wrapper">
			<div id="main-content">
                <asp:HiddenField ID="hdfIdAvaliacao" runat="server" />
                <div class="title title-spacing">
					<h2>Avaliação</h2>
                    Avaliações.
				</div>
                <div class="response-msg success ui-corner-all" runat="server" id="divMsnEditarSucesso" visible="false">
					<span>Sucesso!</span>
					Avaliacao atualizada com sucesso.
				</div>
                <div class="response-msg error ui-corner-all" runat="server" id="divMsnEditarAtencao" visible="false">
					<span>Atenção!</span>
					Ocorreu algum erro na atualização do cadastro.
				</div>
                <div style="height:30px;">
                    <asp:LinkButton ID="lnk" CssClass="btn ui-state-default ui-corner-all" runat="server" onclick="lnk_Click" ><span class="ui-icon ui-icon-back"></span>Voltar a pesquisa</asp:LinkButton>
                </div>
                <div class="portlet ui-widget ui-widget-content ui-helper-clearfix ui-corner-all form-container">
					<div class="portlet-header ui-widget-header">Atualizar avaliação</div>
					<div class="portlet-content">
					    <ul>
						    <li>
							    <label  class="desc">
								    Produto*
							    </label>
							    <div>
							        <asp:DropDownList ID="ddlProdutos" DataValueField="id_produto" DataTextField="nm_produto" runat="server" CssClass="field">
                                    </asp:DropDownList>
							    </div>
                                <div>
                                    <asp:Label Text="" runat="server" ID="lblProdutoObrigatorio" ForeColor="Red" />
                                </div>
						    </li>
                            <li>
							    <label  class="desc">
								    Usuário*
							    </label>
							    <div>
							        <asp:DropDownList ID="ddlUsuarios" DataValueField="id_usuario" DataTextField="nm_usuario" runat="server" CssClass="field">
                                    </asp:DropDownList>
							    </div>
                                <div>
                                    <asp:Label Text="" runat="server" ID="lblUsuarioObrigatorio" ForeColor="Red" />
                                </div>
						    </li>
                            <li>
							    <label  class="desc">
								    Avaliação*
							    </label>
							    <div>
							        <HTMLEditor:Editor runat="server" Width="50%" ID="editorTeAvaliacao"/>
                                    <!--<asp:TextBox runat="server" ID="txtTeAvaliacao" TextMode="MultiLine" Columns="50" Rows="10" Text="" />-->
    
                                            
							    </div>
                                <div>
                                    <asp:Label Text="" runat="server" ID="lblTeAvaliacaoObrigatorio" ForeColor="Red" />
                                </div>
						    </li>
                            <li>
                                <label  class="desc">
								    Nota geral*
							    </label>
                                <div>
                                    <asp:TextBox ID="txtNrNotaGeral" CssClass="field text three-column-small" 
                                        Width="20" MaxLength="2" runat="server" Text=""></asp:TextBox>
							    </div>
                                <div>
                                    <asp:Label Text="" runat="server" ID="lblNrNotaGeralObrigatoria" ForeColor="Red" />
                                </div>
						    </li>
                            <li>
                                <label  class="desc">
								    Nota de preço*
							    </label>
                                <div>
                                    <asp:TextBox ID="txtNrNotaPreco" CssClass="field text three-column-small" 
                                        Width="20" MaxLength="2" runat="server" Text=""></asp:TextBox>
							    </div>
                                <div>
                                            
                                    <asp:Label Text="" runat="server" ID="lblNrNotaPrecoObrigatoria" ForeColor="Red" />
                                </div>
						    </li>
                            <li>
                                <label  class="desc">
								    Nota de qualidade*
							    </label>
                                <div>
                                    <asp:TextBox ID="txtNrNotaQualidade" CssClass="field text three-column-small" 
                                        Width="20" MaxLength="2" runat="server" Text=""></asp:TextBox>
							    </div>
                                <div>
                                    <asp:Label Text="" runat="server" ID="lblNrNotaQualidadeObrigatoria" ForeColor="Red" />
                                </div>
						    </li>
                            <li>
                                <label  class="desc">
								    Nota de tempo de uso*
							    </label>
                                <div>
                                    <asp:TextBox ID="txtNrNotaTempoUso" CssClass="field text three-column-small" 
                                        Width="20" MaxLength="2" runat="server" Text=""></asp:TextBox>
							    </div>
                                <div>
                                    <asp:Label Text="" runat="server" ID="lblNrNotaTempoUsoObrigatoria" ForeColor="Red" />
                                </div>
						    </li>
                            <li>
                                <label  class="desc">
								    Pros*
							    </label>
                                <div>
                                    <asp:TextBox ID="txtTePros" TextMode="MultiLine" Rows="5" Columns="40" CssClass="field text small" runat="server" Text=""></asp:TextBox>
							    </div>
                                <div>
                                    <asp:Label Text="" runat="server" ID="lblTeProsObrigatorio" ForeColor="Red" />
                                </div>
						    </li>
                            <li>
                                <label  class="desc">
								    Contras*
							    </label>
                                <div>
                                    <asp:TextBox ID="txtTeContras" TextMode="MultiLine"  Rows="5" Columns="40"  CssClass="field text small" runat="server" Text=""></asp:TextBox>
                                </div>
                                <div>
                                    <asp:Label Text="" runat="server" ID="lblTeContrasObrigatorio" ForeColor="Red" />
                                </div>
						    </li>
                            <li class="buttons">
                                <div>
				                    <asp:LinkButton ID="lkbSalvar" CssClass="btn ui-state-default ui-corner-all" 
                                        runat="server" onclick="lkbAlterar_Click"><span class="ui-icon ui-icon-search"></span>Alterar</asp:LinkButton>
			                    </div>
							</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
